import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            name: 'HelloWorld',
            component: require('@/components/HelloWorld').default
        },
        {
            path: '/QueryStudents',
            name: 'QueryStudents',
            component: require('@/pages/QueryStudents').default
        },
        {
            path: '/AddStudent',
            name: 'AddStudent',
            component: require('@/pages/AddStudent').default
        },
        {
            path: '/StudentMsgShower',
            name: 'StudentMsgShower',
            component: require('@/components/StudentMsgShower').default
        },
        {
            path: '/AddCourseGrade',
            name: 'AddCourseGrade',
            component: require('@/pages/AddCourseGrade').default
        },
    ]
});